package com.sugar.subscribe.course.module.business.controller.admin.venue.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 场地新增/修改 Request VO")
@Data
public class VenueSaveReqVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "32011")
    private Long id;

    @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @NotEmpty(message = "名称不能为空")
    private String name;

    @Schema(description = "城市ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "21073")
    @NotNull(message = "城市ID不能为空")
    private Long cityId;

    @Schema(description = "坐标点", requiredMode = Schema.RequiredMode.REQUIRED, example = "21073")
    private String location;
}